{% load ho600_bugrecord_tags %}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>{% block title %}index.html{% endblock %}</title>
    {% loadDefaultJqueryUI_1_8_7 %}
    <script src="/pgpauth/media/pgpauth.js"></script>
    <script src="/pgpauth/media/ajaxfileupload.js"></script>
    <style type="text/css" media="screen">
        .hidden {visibility: hidden;}
        ul {list-style: none;}
    </style>

  </head>
  <body id="id_body">
      {% block menu %}
          <ul>
            <li><a href="http://code.google.com/p/django-pgpauth/">About this site</a></li>
            <li><a href="/pgpauth/publickey/list/">Show all public key</a></li>
            <li><a href="/pgpauth/publickey/page/">Upload public key and create account</a></li>
          </ul>
      {% endblock %}
    {% block body %}
        <input id="securesentence_id" value="{{ securesentence.id }}" type="hidden">
        <div>please sign the <font style="font-weight: bold">BOLD</font> message(include ^[0-9]+\.) below here with your private PGP key to login the system:</div>
        <div><font style="font-weight: bold" id="securesentence_content">{{ securesentence.id }}.{{ securesentence.sentence.content }}</font></div>
        <div><textarea id="signed_content" cols="80" rows="15">{{ securesentence.id }}.{{ securesentence.sentence.content }}</textarea></div>
        <button onClick="return loginByPGP(this);">Login</button>
    {% endblock %}

    <script type="text/javascript">

      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-8423956-2']);
      _gaq.push(['_trackPageview']);

      (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();

    </script>

  </body>
</html>
